<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://Microsoft.ConnectionEngine/Schemas/ServiceProviderRegister" targetNamespace="http://Microsoft.ConnectionEngine/Schemas/ServiceProviderRegister" elementFormDefault="qualified" attributeFormDefault="unqualified">

  <xs:element name="ServiceProviderTypeMessageTypes" nillable="true">
    <xs:complexType>
      <xs:sequence>
        <xs:element nillable="true" minOccurs="0" maxOccurs="unbounded" name="ServiceProviderTypeMessageType"></xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>


  <xs:complexType name="ServiceProviderTypeMessageType">
    <xs:sequence>
      <xs:element name="ServiceProviderTypeMessageTypeID" minOccurs="1" maxOccurs="1" type="xs:int"/>
      <xs:element name="MessageType" type="MessageType" minOccurs="1" maxOccurs="1"/>
      <xs:element name="SourceServiceProviderType" minOccurs="1" maxOccurs="1" type="ServiceProviderType"/>
      <xs:element name="DestinationServiceProviderType" minOccurs="1" maxOccurs="1" type="ServiceProviderType"/>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="ServiceProviderType">
    <xs:sequence>
      <xs:element name="ServiceProviderTypeID" minOccurs="1" maxOccurs="1" type="xs:string" />
      <xs:element name="DisplayName" minOccurs="1" maxOccurs="1" type="xs:string" />
      <xs:element name="ServiceProviderTypeCode" minOccurs="0" maxOccurs="1" type="xs:string" />
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="MessageType">
    <xs:sequence>
      <xs:element name="MessageTypeID" minOccurs="1" maxOccurs="1" type="xs:string" />
      <xs:element name="Description" minOccurs="1" maxOccurs="1" type="xs:string"/>
      <xs:element name="XmlSchema" minOccurs="0" maxOccurs="1" type="xs:string" />
      <xs:element name="Version" minOccurs="0" maxOccurs="1" type="xs:string" />
    </xs:sequence>
  </xs:complexType>

</xs:schema>

